projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0f893d
)
Use window-full-width-p instead of comparing frame-width and
author
Martin Rudalics
<rudalics@gmx.at>
Wed, 8 Aug 2007 05:49:21 +0000
(
05:49
+0000)
committer
Martin Rudalics
<rudalics@gmx.at>
Wed, 8 Aug 2007 05:49:21 +0000
(
05:49
+0000)
window-width.
lisp/mouse-drag.el
patch
|
blob
|
history
diff --git
a/lisp/mouse-drag.el
b/lisp/mouse-drag.el
index f1d56eccc667c0861396fbcdc74cb4078c2b92c5..bfb199ab897721a6e50f40af75bbff78c5dd2293 100644
(file)
--- a/
lisp/mouse-drag.el
+++ b/
lisp/mouse-drag.el
@@
-158,7
+158,7
@@
Keep the cursor on the screen as needed."
Basically, we check for existing horizontal scrolling."
(or truncate-lines
(> (window-hscroll (selected-window)) 0)
- (
< (window-width) (frame-width
))
+ (
not (window-full-width-p
))
(and
mouse-drag-electric-col-scrolling
(save-excursion ;; on a long line?